package cn.springcloud.alibaba.sys.service;

import cn.springcloud.alibaba.core.base.Result;
import cn.springcloud.alibaba.sys.dto.SysRoleDTO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;

import java.util.List;

@Slf4j
@Service
public class SysRoleService {

	@GetMapping
	public Result<List<SysRoleDTO>> getSysRole() {
		return null;
	}

	@PostMapping
	public Result<String> addSysRole() {
		return null;
	}

	@PutMapping
	public Result<String> updateSysRole() {
		return null;
	}

	@DeleteMapping
	public Result<String> deleteSysRole() {
		return null;
	}
}
